package splug.cjk.packet;

import java.io.Serializable;
import java.util.ArrayList;

import splug.cjk.Content;
import splug.cjk.MessageContent;

public class MessagePacket implements Serializable{
	private int number;
	private String id;
	private String send;
	private ArrayList<Content> content = new ArrayList<Content>();
	private ArrayList<MessageContent> sub_content = new ArrayList<MessageContent>();
	private String comment;
	private String date;
	
	public MessagePacket(int number, String id, String send, ArrayList<Content> content,
			ArrayList<MessageContent> sub_content, String comment, String date) {
		super();
		this.number = number;
		this.id = id;
		this.send = send;
		this.content = content;
		this.sub_content = sub_content;
		this.comment = comment;
		this.date = date;
	}

	public int getNumber() {
		return number;
	}

	public String getId() {
		return id;
	}

	public String getSend() {
		return send;
	}

	public ArrayList<Content> getContent() {
		return content;
	}

	public ArrayList<MessageContent> getSub_content() {
		return sub_content;
	}

	public String getComment() {
		return comment;
	}

	public String getDate() {
		return date;
	}
	
}
